    s=0;
    a=[12,13,14;15,16,17;18,19,20;21,22,23];
    for k=a
       s=s+k;
    end
    disp(s');
